











<div class="x-body">
    <form class="layui-form form_single" action="{:url()}" method="post">
        <div class="layui-form-item">
            <label  class="layui-form-label">
                交易员账号
            </label>
            <div class="layui-input-inline">
                <select name="king" >
                    {volist name='king' id='vo'}
                    <option value="{$vo['name']}" {notempty name="$info['king']"}{if condition="$info['king'] eq $vo['name']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                    {/volist}
                </select>
            </div>


        </div>

        <div class="layui-form-item">
            <label  class="layui-form-label">
                产品类型
            </label>
            <div class="layui-input-block">
                <select name="product_id" >
                    {volist name='product' id='vo'}
                    <option value="{$vo['id']}" {notempty name="$info['product_id']"}{if condition="$info['product_id'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                    {/volist}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label  class="layui-form-label">
                会员账号
            </label>
            <div class="layui-input-inline">
                <input type="text" id="user_name" name="user_name"  value="{$info['user_name']|default=''}"
                       autocomplete="off" class="layui-input" >(多个账号使用,分隔)
            </div>


        </div>

        

        <div class="layui-form-item">
            <label  class="layui-form-label">
                本金
            </label>
            <div class="layui-input-inline">
                <input type="text" id="money" name="money"  value="{$info['money']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>


        </div>

        <div class="layui-form-item">
            <label  class="layui-form-label">
                分红百分比
            </label>
            <div class="layui-input-inline">
                <input type="text" id="percent" name="percent"  value="{$info['percent']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>


        </div>

        <div class="layui-form-item">
            <label  class="layui-form-label">
                交易员分红百分比
            </label>
            <div class="layui-input-inline">
                <input type="text" id="king_percent" name="king_percent"  value="{$info['king_percent']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>


        </div>

        <div class="layui-form-item">
            <label  class="layui-form-label">
                赢几次
            </label>
            <div class="layui-input-inline">
                <input type="text" id="win_count" name="win_count"  value="{$info['win_count']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>


        </div>
        <div class="layui-form-item">
            <label  class="layui-form-label">
                输几次
            </label>
            <div class="layui-input-inline">
                <input type="text" id="loss_count" name="loss_count"  value="{$info['loss_count']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>


        </div>
        <div class="layui-form-item">
            <label  class="layui-form-label">
                和几次
            </label>
            <div class="layui-input-inline">
                <input type="text" id="draw_count" name="draw_count"  value="{$info['draw_count']|default=''}"
                       autocomplete="off" class="layui-input" >
            </div>


        </div>



        <div class="box-footer">

            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
            {include file="layout/edit_btn_group"/}

        </div>

    </form>
</div>



<script type="text/javascript">

    ob.setValue("is_hide", {$info.is_hide|default=0});
    ob.setValue("is_shortcut", {$info.is_shortcut|default=0});
    ob.setValue("pid", {$info.pid|default=0});

</script>

